/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

/**
 * <p>Project: jse2303 - Apple</p>
 * <p>Powered by webrx On 2023-07-28 15:35:39</p>
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Ann(name = "赵六", age = 88)
public class Apple {
    //2

    @Ann
    @AppleName
    private String name;

    private int price;

    //0
    String address;

    //4
    protected final double pri = 1.0;

    //1 public static 8  9 final 16
    public final static int num = 3;

    public Apple() {

    }

    public Apple(String name, int price) {
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Ann(name = "李勇")
    public int pf(int i) {
        return i * i;
    }

    public void show() {
        System.out.println("ok");
    }
}
